package team.seekers.hula.system.resource.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Description TODO
 * @Author hbc
 **/

@Data
@Component
@ConfigurationProperties(prefix = "resource")
public class FileSystemProperties {

    private String baseDir; // 工作目录

    @Value("${aliyun.oss.region}")
    private String ossRegion;

    @Value("${aliyun.oss.bucket}")
    private String ossBucket;

    @Value("${aliyun.oss.accesskey.id}")
    private String ossAccessKeyId;

    @Value("${aliyun.oss.accesskey.secret}")
    private String ossAccessKeySecret;

    @Value("${aliyun.oss.role.arn}")
    private String ossRoleArn;

}
